/*
 * @Description: 
 * @Author: lwx
 * @Date: 2022-11-07 14:14:29
 * @LastEditors: lwx
 * @LastEditTime: 2022-12-29 16:58:13
 */
const getters = {
    sidebar: state => state.app.sidebar,
    device: state => state.app.device,
    username: state => state.user.name,
    token: state => state.user.token,
    roles: state => state.user.roles,
    addRouters: state => state.permission.addRouters,
    permission_routers: state => state.permission.routers,
    visitedViews: state => state.tagsView.visitedViews,
    cachedViews: state => state.tagsView.cachedViews,
    errorLogs: state => state.errorLog.logs
}
export default getters